package cn.ffcs.unm.patent.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.patent.dao.PatentDao;
import cn.ffcs.unm.patent.manager.PatentManager;
import cn.ffcs.unm.patent.model.Patent;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("patentManager")
@Scope("prototype")
public class PatentManagerImpl implements PatentManager{

	@Resource
	private PatentDao patentDao;
	
	@Override
	public PageInfo queryInfoByPatent(
			Patent patent, int currentPage, int pageSize) {
		return patentDao.queryInfoByPatent(patent, currentPage, pageSize);
	}
}
